import java.util.Arrays;
import java.util.Scanner;

public class java4 {
  public static void main(String[] args) {
    Scanner sc=new Scanner(System.in);
    System.out.println("shur");
    String str=sc.next();
    char[] arr=str.toCharArray();
    for (int i = 0; i <arr.length ; i++) {
      if (arr[i] >= 'A' && arr[i]<='Z') {
        arr[i]= (char) (arr[i]+33);
      } else if (arr[i]>='a'&&arr[i]<='c') {
        arr[i]='2';
      }else if (arr[i]>='d'&&arr[i]<='f') {
        arr[i]='3';
      }else if (arr[i]>='g'&&arr[i]<='i') {
        arr[i]='4';
      }else if (arr[i]>='j'&&arr[i]<='l') {
        arr[i]='5';
      }else if (arr[i]>='m'&&arr[i]<='o') {
        arr[i]='6';
      }else if (arr[i]>='p'&&arr[i]<='s') {
        arr[i]='7';
      }else if (arr[i]>='t'&&arr[i]<='v') {
        arr[i]='8';
      }else if (arr[i]>='w'&&arr[i]<='z') {
        arr[i]='9';
      }else {
        arr[i]=arr[i];
      }
    }

    System.out.println(arr);
    }
  }

